package com.dream.technology.components.config;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RiskMessageConfig {


    //队列 风控运行结果
    public static final String QUEUE_NAME = "firstChannel";
//    public static final String QUEUE_NAME = "borrowingFormResultChannel";

    //队列
    public static final String BORROWING_FORM_QUEUE = "borrowingFormChannel";


    @Bean(name = QUEUE_NAME)
    public Queue queue() {
        return new Queue(QUEUE_NAME);
    }


}
